<template>
    <div id="app">
        <!-- 内部 -->
        <div class="main">
            <div class="Page_wrap">
                <!-- 身体 -->
                <div class="f-container">
                    <!-- 左上角图标自己写 -->
                    <!-- <div>
                        <a href="#">
                            <img src="" alt="">
                        </a>
                    </div> -->
                    <div class="row">
                        <div class="left">


                            <!-- 轮播图 -->
                            <div>
                                <el-carousel height="708px">
                                  <el-carousel-item v-for="item in iArr" :key="item" >
                                    <img :src="item" width="100%" height="100%">
                                  </el-carousel-item>
                                </el-carousel>

                            </div>
                        </div>
                        <div class="right">
                            <!-- /// -->
                            <div class="login">
                                <div>
                                    <div class="text-center">
                                        <div class="title">登录</div>
                                    </div>
                                    <div class="account">
                                        <div class="child">
                                            <div class="row">
                                                <div class="d-input">
                                                    <div class="md-input">
                                                        <input type="text" placeholder="邮箱/手机*">

                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="d-input">
                                                    <div class="md-input-pswd">
                                                        <input type="text" placeholder="密码*">
                                                        <!-- 加点击事件 -->
                                                        <div class="tips">忘记密码?</div>

                                                    </div>
                                                </div>
                                            </div>
                                            <!-- ////// -->
                                            <button class="btn">
                                                登录
                                            </button>
                                            <!-- /// -->
                                            <div class="booton-links">
                                                <span class="txt-tin">手机短信登录/注册</span>
                                                <span class="txt-tin">注册DJI账号</span>
                                            </div>
                                            <!-- /////// -->
                                            <div>


                                                <div class="line">
                                                    <div class="bg-orange">
                                                        或使用第三方账号登录
                                                    </div>

                                                </div>
                                                <!-- /////// -->
                                                <button class="btn-wechat">
                                                    <div class="btn-slot">
                                                        <!-- 矢量图标库微信头像 -->
                                                        <img src="https://i.imgtg.com/2022/05/30/nNQlK.png" class="icon " alt="weixin">
                                                        <span class="name">微信</span>
                                                    </div>
                                                </button>
                                                <!-- //////// -->
                                                <div class="login-agree">
                                                    <span>若继续，则表示同意 隐私政策和使用条款，DJI 会收集您的第三方登录信息进行账号注册或登录。</span>
                                                </div>
                                            </div>
                                            <!-- //// -->
                                        </div>
                                    </div>
                                    <!-- ////// -->
                                    <div class="faq-service">
                                        <div class="fap-tips">
                                            登录遇到问题？
                                        </div>
                                        <div class="fap-links">
                                            <a href="#" class="fap-left">联系客服</a>
                                            <a href="#" class="fap-right">常见问题</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>


                </div>
            </div>
        </div>
        <router-view/>
    </div>

</template>

<style>


    #app {
        width: 100%;
        height: 100%;
        display: flex;

        justify-content: center;

        align-items: center;
    }

    .main {
        position: relative;
        height: 748px;
        margin-top: 50px;
    }

    .page_wrap {
        padding-top: 50px;
    }

    .page_wrap {

        display: flex;
        min-height: calc(100% - 92px);
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: center;
        align-items: center;
        padding-top: 100px;
    }

    .f-container {
        width: 1000px;
        background-color: #fff;
        padding: 0;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        margin-right: 0;
        margin-left: 0;
    }

    /* 轮播图 */
    .left {
        width: 500px;
        height: 708px;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .left img {
        width: 100%;
        height: 708px;
    }

    .right {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .login {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        height: 100%;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .right > * {
        min-height: 584px;
    }

    /* // */
    .text-center {
        text-align: center !important;
    }

    .login .title {
        font-size: 30px;
        color: #3b3e40;
        font-weight: 500;
        margin: 0;
    }

    .account {
        margin-top: 0px;
    }

    .d-input {
        width: 100%;
        width: 300px;
        height: 68px;
    }

    .md-input {
        width: 100%;
        height: 48px;
        margin: 20px 0 0;
        display: flex;
        position: relative;
        border-radius: 2px;
        border: 1px solid #ddd;
    }

    .md-input input {
        position: relative;
        width: 100%;
        height: 46px;
        padding: 20px 0 0 10px;
        display: block;
        border: none;
        background: transparent;
        transition: all .4s cubic-bezier(.25, .8, .25, 1);
        transition-property: font-size;
        color: rgba(0, 0, 0, .54);
        font-family: inherit;
        font-size: 1px;
        line-height: 24px;
        box-sizing: border-box;

    }

    .md-input-pswd {
        width: 100%;
        height: 48px;
        margin: 20px 0 0;
        display: flex;
        position: relative;
        border-radius: 2px;
        border: 1px solid #ddd;
    }

    .md-input-pswd input {
        border: none;
    }

    .md-input-pswd .tips {
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 12px;
        height: 48px;
        line-height: 48px;
    }

    /* /////////// */
    .btn {
        margin-top: 20px;
        width: 100%;
        text-transform: uppercase;
        text-align: center;
        border-radius: 2px;
        background: #fff;
        height: 48px;
        border: 1px solid #ccc;
        font-size: 16px;
        color: #fff;
        background: #44a8f2;
        border: 1px solid #44a8f2;
        cursor: pointer;
        text-decoration: none;
    }

    /* ///////// */
    .booton-links {
        margin-top: 15px;
        display: flex;
        justify-content: space-between;

    }

    .login .txt-tin {
        color: #44a8f2;
        cursor: pointer;
        text-decoration: none;
    }

    /* ////////// */
    .line {
        margin-top: 30px;
    }

    .line .bg-orange {
        padding: 5px 8px;
        display: inline-block;
        color: #707473;
        background-color: #fff;
        opacity: 1;
    }

    .login .line {
        text-align: center;
        line-height: 44px;
    }

    /* /// */

    .btn-wechat {
        margin-top: 10px;
        color: #ccc;
        background: #47b247;
        border: none;
        color: #fff;
        height: 48px;
        width: 100%;
    }

    .btn-slot {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icon {
        width: 20px;
        height: 20px;
    }

    .login .btn-slot .name {
        margin-left: 10px;
    }


    .login-agree {
        text-align: center;
        font-size: 12px;
        color: #707473;
        width: 300px;
        margin: auto;
        margin-top: 10px;
    }

    /* //////// */
    .faq-service {
        margin-top: 64px;
        width: 300px;
    }

    .fap-tips {
        color: rgba(0, 0, 0, .85);
        font-size: 14px;
        letter-spacing: -.28px;
        text-align: center;
        line-height: 20px;
        height: 20px;
    }

    .fap-links {
        font-size: 14px;
        letter-spacing: -.28px;
        text-align: center;
        line-height: 20px;
        height: 20px;
    }

    .fap-links a {
        color: #44a8f2;
        cursor: pointer;
        text-decoration: none;
    }

    .fap-left {
        padding-right: 8px;
        text-align: right;
        border-right: 1px solid rgba(0, 0, 0, .09);
    }

    .fap-right {
        padding-left: 8px;
        text-align: left;
    }


</style>

<script>

  export default {

  data:
      function() {
        return {
          iArr: [
            "https://account.djicdn.com/pc/static/img/banner5.9f30612.jpg",
            "https://account.djicdn.com/pc/static/img/banner3.56d7e41.jpg",
            "https://account.djicdn.com/pc/static/img/banner4.f355fb3.jpg",
            "https://account.djicdn.com/pc/static/img/banner6.d099390.jpg", "https://account.djicdn.com/pc/static/img/banner9.47bfef8.jpg",
            "https://account.djicdn.com/pc/static/img/banner12.1c917b5.jpg",
          ]


        }}
}


</script>